package com.xc.erp.modules.erp.domain.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.xc.erp.modules.erp.domain.vo.ResultDepotMaterialVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@TableName(value = "jsh_depot_head")
@Data
public class JshDepotHead {
    @TableField(exist = false)
    private String materialsList;
    @TableField(exist = false)
    private BigDecimal allPrice;
    @TableField(exist = false)
    private String organName;
    @TableField(exist = false)
    private BigDecimal num;
    @TableId(type = IdType.AUTO)
    private Long id;

    private String type;

    private String subType;

    private String defaultNumber;

    private String number;

    private Date createTime;

    private Date operTime;

    private Long organId;

    private Long creator;

    @TableField(exist = false)
    private String creatorName;

    private Long accountId;

    private BigDecimal changeAmount;

    private BigDecimal backAmount;

    private BigDecimal totalPrice;

    private String payType;

    private String billType;

    private String remark;

    private String fileName;

    private String salesMan;

    private String accountIdList;

    private String accountMoneyList;

    private BigDecimal discount;

    private BigDecimal discountMoney;

    private BigDecimal discountLastMoney;

    private BigDecimal otherMoney;

    private BigDecimal deposit;

    private String status;

    private String purchaseStatus;

    private String linkNumber;

    private Long tenantId;

    /**
     * 含税金额
     */
    @TableField(exist = false)
    private BigDecimal totalTaxLastMoney;

    @TableLogic
    private String deleteFlag;

    @TableField(exist = false)
    private List<ResultDepotMaterialVo> jshDepotItemList;
}
